package com.mbengue.corp.apr.ra.core;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Embeddable;

@Embeddable
public class LieuEvenementId implements Serializable {
  private static final long serialVersionUID = 1L;
  @Column(name = "idEvenement", nullable = false)
  private long idEvenement;
  @Column(name = "idAdresse", nullable = false)
  private long idAdresse;

  public long getIdEvenement() {
    return idEvenement;
  }

  public void setIdEvenement(long aIdEvenement) {
    idEvenement = aIdEvenement;
  }

  public long getIdAdresse() {
    return idAdresse;
  }

  public void setIdAdresse(long aIdAdresse) {
    idAdresse = aIdAdresse;
  }

  public LieuEvenementId() {
    // TODO Auto-generated constructor stub
  }

  public LieuEvenementId(long aIdEvenement, long aIdAdresse) {
    super();
    idEvenement = aIdEvenement;
    idAdresse = aIdAdresse;
  }
}
